{% extends 'LabiryntCmsBundle::layout.html.twig' %}

{% block body %}
	<div id="fb-root"></div>
	<script>
		(function(d, s, id) {
			var js, fjs = d.getElementsByTagName(s)[0];
			if (d.getElementById(id)) return;
			js = d.createElement(s); js.id = id;
			js.src = "//connect.facebook.net/pl_PL/all.js#xfbml=1";
			fjs.parentNode.insertBefore(js, fjs);
		}(document, 'script', 'facebook-jssdk'));
	</script>
	<script>
		(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
		(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
		m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
		})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
		ga('create', 'UA-36371638-2', 'labirynt.com');
		ga('send', 'pageview');
	</script>
	<div class="nav clear">
		<ul class="nav-list"
			><li class="nav-element nav-sep"><a href="http://labirynt.com">{% trans %}<span class="nav-logo">Galeria</span>&nbsp;Labirynt&trade;{% endtrans %}</a></li
			><li class="nav-element nav-sep"><a href="{{ url('labirynt_cms_homepage') }}">{% trans %}366&nbsp;obrotów{% endtrans %}</a></li
			><li class="nav-element"><span class="nav-nolink">{% trans %}Archiwum{% endtrans %}</span></li
		></ul>
	</div>

	<ul class="lst"
		{% for drawing in drawings %}
			><li class="lst-element{% if loop.index == 1 %} selected{% endif %}"><a class="lst-link" href="{{ url('labirynt_cms_drawing', {'number': drawing.getNumber()}) }}"><span class="lst-day">{{ drawing.getNumber() }}</span><img class="lst-image" src="/{{ drawing.getWebPath('small') }}" alt=""></a></li
		{% endfor %}
	></ul>
{% endblock %}